//
//  HJPopMenuView.h
//  newOcWeibo
//
//  Created by heJing on 15/7/26.
//  Copyright © 2015年 heima. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^MyBlock)();

@interface HJPopMenuView : NSObject

// 让菜单指向指定的控件
+ (void)popFrom:(UIView *)fromView content:(UIView *)contentView dismiss:(MyBlock)dismiss;

// 让菜单指向指定的区域
+ (void)popFromRect:(CGRect)fromRect inView:(UIView *)inView content:(UIView *)contentView dismiss:(MyBlock)dismiss;

// 指向指定的控件并且接收一个控制器作为菜单的内容
+ (void)popFrom:(UIView *)fromView contentController:(UIViewController *)contentVC dismiss:(MyBlock)dismiss;

@end
